login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A354258 Earliest occurrence of n in A354257. 3
1, 3, 9, 16, 25, 36, 49, 32, 27, 75, 121, 144, 169, 147, 225, 64, 289, 108, 361, 400, 441, 363, 529, 288, 125, 507, 81, 784, 841, 900, 961, 128, 1089, 867, 1225, 432, 1369, 1083, 1521, 800, 1681, 1764, 1849, 1936, 675, 1587, 2209, 576, 343, 375, 2601, 2704 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) is odd if and only if n is odd or n == 2, 10 (mod 12).
a(n) = n^2 if and only if: (a) n is odd or n == 6 (mod 12), and n is squarefree; or (b) n is 4 times an odd squareefree number.
LINKS
FORMULA
a(n) = n * rad(n) if n is odd or n == 6 (mod 12); (3/4) * n * rad(n) if n == 2, 10 (mod 12); 2 * n * rad(n) if n is divisible by 4, where rad = A007947.
PROG
(PARI) rad(n) = factorback(factorint(n)[, 1]);
a(n) = n*rad(n)*if(n%2 || n%12==6, 1, if(n%12==2 || n%12==10, 3/4, 2))
CROSSREFS
Sequence in context: A334563 A109340 A339918 * A024385 A212566 A061942
KEYWORD
nonn,easy
AUTHOR
Jianing Song, May 21 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 5 19:35 EDT 2024. Contains 372277 sequences. (Running on oeis4.)