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!)
A060998 Squares of 1 and primes, written backwards. 1
1, 4, 9, 52, 94, 121, 961, 982, 163, 925, 148, 169, 9631, 1861, 9481, 9022, 9082, 1843, 1273, 9844, 1405, 9235, 1426, 9886, 1297, 9049, 10201, 90601, 94411, 18811, 96721, 92161, 16171, 96781, 12391, 10222, 10822, 94642, 96562, 98872, 92992, 14023 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Subsequence of A002942. - Michel Marcus, Nov 20 2015
LINKS
MAPLE
revdigs := proc(n)
local L, nL, j;
L:= convert(n, base, 10);
nL:= nops(L);
add(L[i]*10^(nL-i), i=1..nL);
end:
map(t -> revdigs(t^2), [1, 2, op(select(isprime, [seq(i, i=3..10^4, 2)]))]); # Robert Israel, Nov 20 2015
MATHEMATICA
Join[{1}, FromDigits[Reverse[IntegerDigits[#^2]]]&/@Prime[Range[100]]] (* Vincenzo Librandi, Nov 20 2015 *)
PROG
(PARI) a(n) = if(n==1, 1, eval(concat(Vecrev(Str(prime(n-1)^2))))) \\ Altug Alkan, Nov 20 2015
CROSSREFS
Sequence in context: A038340 A016489 A030694 * A358594 A370579 A368634
KEYWORD
nonn,base,easy
AUTHOR
Martin Goepfert (martin.goepfert(AT)fen-net.de), May 14 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), May 15 2001
Offset changed from 0 to 1 by Altug Alkan, Nov 20 2015
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)